class AppRoutes {
  static const String splash = '/splash';
  static const String login = '/login';
  static const String sms = '/sms';
  static const String home = '/home';
  static const String deal = '/deal';

  static getPageName(String currentRoute) {
     switch (currentRoute) {
       case '/login':
         return 'loginphone';
       case '/sms':
         return 'logincode';
       case '/home':
         return 'main';
       default:
         return '';
     }
  }

}
